package com.zgg.enums;

/**
 * Created by li on 2017/4/20.
 */
public enum CharsetEnum {
    ASCII(0, "US-ASCII"),
    UTF8(1, "UTF-8"),
    UTF16(2, "UTF-16"),
    GBK(3, "GBK"),
    GB2312(4, "GB2312"),
    ISO88591(5, "ISO-8859-1"),
    UTF16LE(5, "UTF-16LE"),
    UTF16BE(5, "UTF-16BE");

    private int id;
    private String value;


    CharsetEnum(int id, String value) {
        this.id = id;
        this.value = value;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
